<?php
/**
 * Created by PhpStorm.
 * User: edmmss
 * Date: 2018/11/8
 * Time: 11:04
 */

namespace app\modules\abstractFactory\factory;


use app\modules\abstractFactory\text\HtmlText;
use app\modules\abstractFactory\text\Text;

class HtmlFactory extends AbstractFactory
{
    public function createText(string $content): Text
    {
        // TODO: Implement createText() method.
        return new HtmlText($content);
    }
}